package o;

import android.content.Context;
import android.provider.Settings.SettingNotFoundException;
import android.provider.Settings.System;

public class exv {
    public static boolean ˎ(String str) {
        return eua.ˏ().ˏ("shortcutresultexit" + str, false);
    }

    public static void ॱ(String str) {
        eua.ˏ().ˋ("shortcutresultexit" + str, true);
    }

    public static boolean ˊ(String str) {
        return eua.ˏ().ˏ("shortcutresultupdate" + str, false);
    }

    public static void ˏ(String str) {
        eua.ˏ().ˋ("shortcutresultupdate" + str, true);
    }

    public static int ˏ(Context context) {
        return ˋ(context, 1);
    }

    private static int ˋ(Context context, int i) {
        try {
            i = System.getInt(context.getContentResolver(), "simpleui_mode");
        } catch (SettingNotFoundException e) {
        } catch (Exception e2) {
        }
        return i;
    }
}
